/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: LENOVO
 * Date: 2024-08-05
 * Time: 12:16
 */
public class Test {
    public static void main(String[] args) {
        IList iList =new MyArray();
        iList.addAtPos(0,0);
        iList.addAtPos(1,1);
        iList.addAtPos(9,9);
        iList.show();
        System.out.println();
        System.out.println(iList.indexOf(2));
        System.out.println(iList.indexOf(10));
        System.out.println(iList.indexOf(0));
        System.out.println(iList.contains(2));
        System.out.println(iList.contains(10));

    }
}
